package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.ProductType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalTime;

/**
 * @author : zhangyongjie
 * @version : 1.0
 * @createTime : 2020/4/24 10:07
 * @description :
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "设备信息")
public class DeviceInfoVO {

    @ApiModelProperty(value = "洗衣点id")
    private String washPointId;

    @ApiModelProperty(value = "洗衣点名称")
    private String washPointName;

    @ApiModelProperty(value = "洗衣店服务电话")
    private String servicePhone;

    @ApiModelProperty(value = "设备场所")
    private String devicePlace;

    @ApiModelProperty(value = "设备详细地址")
    private String deviceAddress;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "产品类型")
    private ProductType productType;

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    @JsonFormat(pattern = "HH:mm:ss")
    @ApiModelProperty(value = "服务时间开始")
    private LocalTime startTime;

    @JsonFormat(pattern = "HH:mm:ss")
    @ApiModelProperty(value = "服务时间结束")
    private LocalTime endTime;
}
